package ru.spb.osll.myfit.common.chart;

import java.io.Serializable;

public class ChartTree implements Serializable {
  private static final long serialVersionUID = 7908743559818029419L;
  private ChartTreeNode m_root;

  public ChartTree() {
    m_root = new ChartTreeNode("", null);
  }

  public ChartTreeNode addNode(ChartTreeNode where, String name) {
    return new ChartTreeNode(name, where);
  }

  public ChartTreeNode getRoot() {
    return m_root;
  }
}